﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using W.Common;

namespace W.Warehouse.Domain.DTO
{
    public class WarehousePageDTO
    {
        public int TotalCount { get; set; }
        public int TotalPage { get; set; }
        public List<WarehouseInfos> List { get; set; } = new List<WarehouseInfos>();
    }
    public class WarehouseInfos : BaseModel
    {
        public int WarehouseId { get; set; }
        /// <summary>
        /// 仓库编码
        /// </summary>
        public string? WarehouseNo { get; set; }
        /// <summary>
        /// 部门id
        /// </summary>
        public int? DepartmentId { get; set; }
        /// <summary>
        /// 仓库名称
        /// </summary>
        public string? WarehouseName { get; set; }
        /// <summary>
        /// 仓库类型Id
        /// </summary>
        public int? WarehouseTypeId { get; set; }
        /// <summary>
        /// 作用
        /// </summary>
        public string? Function { get; set; }
        /// <summary>
        /// 租赁时间
        /// </summary>
        public DateTime? LeaseDate { get; set; }
        /// <summary>
        /// 面积
        /// </summary>
        public decimal? WarehouseArea { get; set; }
        /// <summary>
        /// 地址
        /// </summary>
        public string? WarehouseAddress { get; set; }
        /// <summary>
        /// 联系人
        /// </summary>
        public string? WarehouseContact { get; set; }
        /// <summary>
        /// 电话
        /// </summary>
        public string? WarehousePhone { get; set; }
        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool? WhetherDisable { get; set; }
        public string? WhetherDisableText { get; set; }
        /// <summary>
        /// 是否默认
        /// </summary>
        public bool? WhetherDefault { get; set; }
        public string? WhetherDefaultText { get; set; }
        /// <summary>
        /// 公司Id
        /// </summary>
        public string? office_id { get; set; }
        /// <summary>
        /// 用户Id
        /// </summary>
        public int? user_id { get; set; }
        public string? WarehouseTypeName { get; set; }
    }
}
